/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package Grafik;

import java.awt.Color;

/**
 *
 * @author charliboy007
 */
public class GrafINytVindue extends javax.swing.JFrame {

    MainSkærm ejer;

    public void setEjer(MainSkærm ejer) {
        this.ejer = ejer;
    }

    /**
     * Creates new form GrafINytVindue
     */
    public GrafINytVindue(MainSkærm ejer) {
        initComponents();
        setEjer(ejer);
        åbenGrafPanel1.setEjer(this);
    }

    /**
     * This method is called from within the constructor to initialize the form. WARNING: Do NOT modify this code. The content of this method is always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        Overskrift = new javax.swing.JLabel();
        åbenGrafPanel1 = new Grafik.ÅbenGrafPanel();

        setTitle("Graf");
        setMaximumSize(new java.awt.Dimension(423, 385));
        setMinimumSize(new java.awt.Dimension(423, 385));
        setPreferredSize(new java.awt.Dimension(420, 360));
        setResizable(false);
        getContentPane().setLayout(null);

        Overskrift.setFont(new java.awt.Font("Tahoma", 0, 18)); // NOI18N
        Overskrift.setText("Graf");
        getContentPane().add(Overskrift);
        Overskrift.setBounds(180, 20, 50, 28);

        åbenGrafPanel1.setMinimumSize(new java.awt.Dimension(400, 300));
        getContentPane().add(åbenGrafPanel1);
        åbenGrafPanel1.setBounds(10, 50, 400, 300);

        pack();
    }// </editor-fold>//GEN-END:initComponents

    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JLabel Overskrift;
    private Grafik.ÅbenGrafPanel åbenGrafPanel1;
    // End of variables declaration//GEN-END:variables
}
